package com.casicloud.manage.service;

import java.util.List;

import com.casicloud.manage.model.Authority;
import com.common.sub.util.PageUtil;
import com.github.pagehelper.PageInfo;

public interface AuthorityService {
	
	List<Authority> findByList(Authority authority);
	
	void save(Authority authority);
	
	int delete(Authority authority);
	
	int update(Authority authority);

	PageInfo<Authority> findByPage(PageUtil pageUtil, Authority authority);
	
	Authority findByOne(Authority authority);
	
	List<Authority> findByIds(Integer... ids);

}
